package com.youngjun.user.mapper;

import com.youngjun.common.mybatis.mapper.support.BaseMapper;
import com.youngjun.user.pojo.domain.Region;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RegionMapper extends BaseMapper<Region> {

    /**
     *
     * @param parentId 上级区域id
     * @return List<Region>
     */
   List<Region> queryListByParentId(@Param("parentId") Long parentId);

}